package sugarbind_input

class Agent_Property_Type {

    String agent_Property_Type_Name
	
    static constraints = {
			agent_Property_Type_Name(blank:false)
			
			agent_Property_Type_Name(unique:true)
	}
	
	static hasMany = [agent_Properties: Agent_Property]
	
	static mapping = {
//		id column: 'agent_property_type_id'
		id generator: 'sequence', params: [sequence: 'agent_property_type_id_seq']
	}
	
	public String toString(){
		agent_Property_Type_Name
	}
}
